package com.library.library.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table
@ToString
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class User extends Base implements Serializable,Cloneable{

    private String username;
    private String password;
}
